package cn.yuan.product.service;

import cn.yuan.basic.service.IBaseService;
import cn.yuan.product.domain.Product;
import cn.yuan.product.domain.ProductDetail;

import java.util.List;

public interface IProductService extends IBaseService<Product> {

    ProductDetail findDetailByProductId(Long id);

    void onOrOffSale(List<Long> ids, int i);
}
